<?php

require_once "core/application/models/mipforce/mipforce3.php";

class Mipforce4 extends Mipforce3 {

    private $_query = NULL;
    public $_fetch  = NULL;

    protected function getPassword() {
        /**
         * @return true or false
         */
        DB::getInstance()->openConnectionToLS();
        $this->_query = "SELECT `password` FROM `account_data` WHERE `name` = '$_SESSION[name]'";
        $this->_fetch = mysql_fetch_assoc(DB::getInstance()->sql($this->_query));
        return $this->_fetch['password'];
        DB::getInstance()->closeConnection();
        unset($this->_query, $this->_fetch);
    }

}

?>
